import request from '@/utils/request'


/**
 * 新增经历
 * @param {Object} query
 */
export function add(data) {
  return request({
    url: '/employeeExperience/add',
    method: 'post',
    data: data
  })
}

/**
 * 新增经历
 * @param {Object} query
 */
export function edit(data) {
  return request({
    url: '/employeeExperience/edit',
    method: 'put',
    data: data
  })
}

/**
 * 新增经历
 * @param {Object} query
 */
export function getDetail(data) {
  return request({
    url: '/employeeExperience/getDetail',
    method: 'get',
    params: data
  })
}
